package org.example;

public class chatmessages {
    private String UserName;
    private String MessageText;

    public chatmessages(String UserName, String MessageText) {
        this.UserName = UserName;
        this.MessageText = MessageText;
    }

    public String getUsername() {
        return UserName;
    }

    public String getMessageText() {
        return MessageText;
    }
}
